/*
    Project: OCMF (Operant Chamber Management Framework)
    Version: 1.0
    Author: Copyright (C) 2010, Samuel Delaney & Andrew Harvey
    Licence:
        This file is part of OCMF.

            OCMF is free software: you can redistribute it and/or modify
            it under the terms of the GNU General Public License as published by
            the Free Software Foundation, either version 3 of the License, or
            (at your option) any later version.

            OCMF is distributed in the hope that it will be useful,
            but WITHOUT ANY WARRANTY; without even the implied warranty of
            MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
            GNU General Public License for more details.

            You should have received a copy of the GNU General Public License
            along with OCMF.  If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QtGui/QMainWindow>
#include <QtGui/QLabel>
#include <QtGui/QPushButton>
#include <QApplication>
#include <QThread>
#include <QMutex>
#include <QWaitCondition>
#include <QKeyEvent>

#include "Logger.h"

#ifdef CONFIG
#include "serverconfig.h"
#endif

//#ifdef OCMFSERVER
#include "OcmfServer.h"
//#endif


class MainWindow : public QWidget
{
    Q_OBJECT

public:
    MainWindow();
    ~MainWindow();

    void SetupScreen(ScreenTemplate *);
    void DisplayImages(QVector<Image *> *);
    void RemoveImages(QVector<Image *> *);

    QWidget *screen;
    OcmfServer * ocmfServer;

    //QVector<QLabel *> LabelVector;
    QVector<QPushButton *> LabelVector;

public slots:
    void keyPressEvent(QKeyEvent *);
private:

};

#endif // MAINWINDOW_H
